<?php if ($sf_user->hasFlash('notice')): ?>
<div class="row-fluid" style="margin: 10px 0 -30px;">
    <div class="span1"></div>
    <div class="span10">
        <div class="alert alert-success">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <?php echo $sf_user->getFlash('notice') ?>
        </div>
    </div>
    <div class="span1"></div>
</div>
<?php endif; ?>

<?php if ($sf_user->hasFlash('error')): ?>
<div class="row-fluid" style="margin: 10px 0 -30px;">
    <div class="span1"></div>
    <div class="span10">
        <div class="alert alert-error">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <?php echo $sf_user->getFlash('error') ?>
        </div>
    </div>
    <div class="span1"></div>
</div>
<?php endif; ?>